package com.andy.local.dao;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 客户表
 * </p>
 *
 * @author andylin
 * @since 2021-04-10
 */
@Data
@Accessors(chain = true)
@TableName("customer")
public class Customer {

@TableId(value="id", type= IdType.AUTO)
private Integer id;

@ApiModelProperty(value = "名称")
@TableField("name")
private String name;

@ApiModelProperty(value = "联系方式")
@TableField("phone")
private String phone;

@ApiModelProperty(value = "时间")
@TableField("Time")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date time;


}